<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!doctype html>
<html>
    <head>
        <!-- Basic Page Needs -->
        <meta charset=utf-8"utf-8">
        <title>AMovie - Login</title>
        <meta name="description" content="A Template by Gozha.net">
        <meta name="keywords" content="HTML, CSS, JavaScript">
        <meta name="author" content="Gozha.net">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" href="css/bootstrap.min.css"/>
        <link rel="stylesheet" href="css/style.css"/>
        <!-- Mobile Specific Metas-->
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta content="telephone=no" name="format-detection">

        <!-- Fonts -->
        <!-- Font awesome - icon font -->
        <link href="static/netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" tppabs="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
        <!-- Roboto -->
        <link href="static/fonts.googleapis.com/css-family=Roboto-400,700.css" tppabs="https://fonts.googleapis.com/css?family=Roboto:400,700" rel='stylesheet' type='text/css'>

        <!-- Stylesheets -->

        <!-- Mobile menu -->
        <link href="css/gozha-nav.css" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/css/gozha-nav.css" rel="stylesheet" />
        <!-- Select -->
        <link href="css/external/jquery.selectbox.css" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/css/external/jquery.selectbox.css" rel="stylesheet" />

        <!-- Custom -->
        <link href="css/style.css-v=1.css" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/css/style.css?v=1" rel="stylesheet" />

        <!-- Modernizr --> 
        <script src="js/external/modernizr.custom.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/external/modernizr.custom.js"></script>

        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> 
        <!--[if lt IE 9]> 
            <script src="../../../cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js" tppabs="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script> 
                    <script src="../../../cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js" tppabs="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.js"></script>		
        <![endif]-->
    </head>
    <body>

        <div class="wrapper">
            <!-- Banner -->


            <!-- Header section -->
            <header class="header-wrapper">
                <div class="container">
                    <!-- Logo link-->
                    <a href="index.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/index.html" class="logo">
                        <img alt='logo' src="images/images/logo.png" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/images/logo.png">
                    </a>

                    <!-- Main website navigation-->
                    <nav id="navigation-box">
                        <!-- Toggle for mobile menu mode -->
                        <a href="#" id="navigation-toggle">
                            <span class="menu-icon">
                                <span class="icon-toggle" role="button" aria-label="Toggle Navigation">
                                    <span class="lines"></span>
                                </span>
                            </span>
                        </a>

                        <!-- Link navigation -->
                        <ul id="navigation">
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="#">首页</a>
<!--                                <ul>
                                    <li class="menu__nav-item"><a href="movie-page-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-page-left.html">Single movie (rigth sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="movie-page-right.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-page-right.html">Single movie (left sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="movie-page-full.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-page-full.html">Single movie (full widht)</a></li>
                                    <li class="menu__nav-item"><a href="movie-list-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-list-left.html">Movies list (rigth sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="movie-list-right.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-list-right.html">Movies list (left sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="movie-list-full.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-list-full.html">Movies list (full widht)</a></li>
                                    <li class="menu__nav-item"><a href="single-cinema.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/single-cinema.html">Single cinema</a></li>
                                    <li class="menu__nav-item"><a href="cinema-list.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/cinema-list.html">Cinemas list</a></li>
                                    <li class="menu__nav-item"><a href="trailer.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/trailer.html">Trailers</a></li>
                                    <li class="menu__nav-item"><a href="rates-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/rates-left.html">Rates (rigth sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="rates-right.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/rates-right.html">Rates (left sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="rates-full.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/rates-full.html">Rates (full widht)</a></li>
                                    <li class="menu__nav-item"><a href="offers.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/offers.html">Offers</a></li>
                                    <li class="menu__nav-item"><a href="contact.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/contact.html">Contact us</a></li>
                                    <li class="menu__nav-item"><a href="404.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/404.html">404 error</a></li>
                                    <li class="menu__nav-item"><a href="coming-soon.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/coming-soon.html">Coming soon</a></li>
                                    <li class="menu__nav-item"><a href="login.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/login.html">Login/Registration</a></li>
                                </ul>-->
                            </li>
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="page-elements.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/page-elements.html">特征</a>
<!--                                <ul>
                                    <li class="menu__nav-item"><a href="typography.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/typography.html">Typography</a></li>
                                    <li class="menu__nav-item"><a href="page-elements.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/page-elements.html">Shortcodes</a></li>
                                    <li class="menu__nav-item"><a href="column.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/column.html">Columns</a></li>
                                    <li class="menu__nav-item"><a href="icon-font.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/icon-font.html">Icons</a></li>
                                </ul>-->
                            </li>
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="page-elements.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/page-elements.html">步骤</a>
<!--                                <ul>
                                    <li class="menu__nav-item"><a href="book1.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/book1.html">Booking step 1</a></li>
                                    <li class="menu__nav-item"><a href="book2.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/book2.html">Booking step 2</a></li>
                                    <li class="menu__nav-item"><a href="book3-buy.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/book3-buy.html">Booking step 3 (buy)</a></li>
                                    <li class="menu__nav-item"><a href="book3-reserve.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/book3-reserve.html">Booking step 3 (reserve)</a></li>
                                    <li class="menu__nav-item"><a href="book-final.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/book-final.html">Final ticket view</a></li>
                                </ul>-->
                            </li>
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="gallery-four.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/gallery-four.html">日志</a>
<!--                                <ul>
                                    <li class="menu__nav-item"><a href="gallery-four.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/gallery-four.html">4 col gallery</a></li>
                                    <li class="menu__nav-item"><a href="gallery-three.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/gallery-three.html">3 col gallery</a></li>
                                    <li class="menu__nav-item"><a href="gallery-two.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/gallery-two.html">2 col gallery</a></li>
                                </ul>-->
                            </li>
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="news-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/news-left.html">资讯</a>
<!--                                <ul>
                                    <li class="menu__nav-item"><a href="news-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/news-left.html">News (rigth sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="news-right.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/news-right.html">News (left sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="news-full.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/news-full.html">News (full widht)</a></li>
                                    <li class="menu__nav-item"><a href="single-page-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/single-page-left.html">Single post (rigth sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="single-page-right.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/single-page-right.html">Single post (left sidebar)</a></li>
                                    <li class="menu__nav-item"><a href="single-page-full.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/single-page-full.html">Single post (full widht)</a></li>
                                </ul>-->
                            </li>
                            <li>
                                <span class="sub-nav-toggle plus"></span>
                                <a href="#">菜单</a>
                                <ul class="mega-menu container">
                                    <li class="col-md-3 mega-menu__coloum">
                                        <h4 class="mega-menu__heading">Now in the cinema</h4>
                                       
                                    </li>

                                   

                                    <li class="col-md-3 mega-menu__coloum">
                                        <h4 class="mega-menu__heading">Ending soon</h4>
<!--                                        <ul class="mega-menu__list">
                                            <li class="mega-menu__nav-item"><a href="#">Escape Plan</a></li>
                                            <li class="mega-menu__nav-item"><a href="#">Rush</a></li>
                                            <li class="mega-menu__nav-item"><a href="#">Prisoners</a></li>
                                            <li class="mega-menu__nav-item"><a href="#">Enough Said</a></li>
                                            <li class="mega-menu__nav-item"><a href="#">The Fifth Estate</a></li>
                                            <li class="mega-menu__nav-item"><a href="#">Runner Runner</a></li>
                                        </ul>-->
                                    </li>

                                    <li class="col-md-3 mega-menu__coloum mega-menu__coloum--outheading">
                                        <ul class="mega-menu__list">
                                            <li class="mega-menu__nav-item"><a href="#">Insidious: Chapter 2</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </nav>

                    <!-- Additional header buttons / Auth and direct link to booking-->

                   <div class="control-panel">
                        <a href="${user==null?'#':'profile.jsp'}" class="btn btn--sign"> <image href="pages/profile.jsp" src="images/${user!=null ? user.getUicon():'default.jpg'}" style="
                                                                            width: 55px;
                                                                            padding-right: 20px;
                                                                            /* float: left; */
                                                                            "/>${user.getUname()}</a>
                        <a id="reset" href="#" class="btn btn--sign">重新登录</a>
                        <c:if test="${sessionScope.admin!=null}">
                            <a href="bu2.jsp" class="btn btn-md btn--warning btn--book">内容管理</a>
                        </c:if>
                    </div>



                </div>
            </header>

            <div class="search-wrapper">
                <div class="container container--add">
                    <form id='search-form' method='get' class="search">
                        <input type="text" class="search__field" placeholder="Search">
<!--                        <select name="sorting_item" id="search-sort" class="search__sort" tabindex="0">
                            <option value="1" selected='selected'>By title</option>
                            <option value="2">By year</option>
                            <option value="3">By producer</option>
                            <option value="4">By title</option>
                            <option value="5">By year</option>
                        </select>-->
                        <button type='submit' class="btn btn-md btn--danger search__button">search a movie</button>
                    </form>
                </div>
            </div>

 <div class="jumbotron text-center">
            <div class="container">
  <h1>你好! 管理员</h1>
  <p>这里是管理图书和电影的地方哦！希望你慎重更改</p>
<!--  <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p>-->
 <form action="gabs" class="form-inline text-center">
                    <button type="submit" class="btn btn-primary btn-lg">管理员检索图书</button>
                </form>
<br><br>
         <form action="gams" class="form-inline text-center">
                    <button type="submit" class="btn btn-primary btn-lg">管理员检索电影</button>
                </form>
            </div>
</div>
                        






                      
                        <footer class="footer-wrapper footer-wrapper--mod">
                            <section class="container"> 
                                <div class="col-xs-4 col-md-2 footer-nav">
                                    <ul class="nav-link">
                                        <li><a href="#" class="nav-link__item">城市</a></li>
                                        <li><a href="movie-list-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/movie-list-left.html" class="nav-link__item">电影</a></li>
                                        <li><a href="trailer.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/trailer.html" class="nav-link__item">预告片</a></li>
                                        <li><a href="rates-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/rates-left.html" class="nav-link__item">费率</a></li>
                                    </ul>
                                </div>
                                <div class="col-xs-4 col-md-2 footer-nav">
                                    <ul class="nav-link">
                                        <li><a href="coming-soon.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/coming-soon.html" class="nav-link__item">速览</a></li>
                                        <li><a href="cinema-list.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/cinema-list.html" class="nav-link__item">电影院</a></li>
                                        <li><a href="offers.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/offers.html" class="nav-link__item">优惠</a></li>
                                        <li><a href="news-left.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/news-left.html" class="nav-link__item">新闻</a></li>
                                    </ul>
                                </div>
                                <div class="col-xs-4 col-md-2 footer-nav">
                                    <ul class="nav-link">
                                        <li><a href="#" class="nav-link__item">使用条款</a></li>
                                        <li><a href="gallery-four.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/gallery-four.html" class="nav-link__item">画廊</a></li>
                                        <li><a href="contact.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/contact.html" class="nav-link__item">联络人</a></li>
                                        <li><a href="page-elements.html" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/page-elements.html" class="nav-link__item">简介</a></li>
                                    </ul>
                                </div>
                                <div class="col-xs-12 col-md-6">
                                    <div class="footer-info">
                                        <p class="heading-special--small">A.Movie<br><span class="title-edition">在社交媒体中的电影</span></p>

                                        <div class="social">
                                            <a href='#' class="social__variant fa fa-facebook"></a>
                                            <a href='#' class="social__variant fa fa-twitter"></a>
                                            <a href='#' class="social__variant fa fa-vk"></a>
                                            <a href='#' class="social__variant fa fa-instagram"></a>
                                            <a href='#' class="social__variant fa fa-tumblr"></a>
                                            <a href='#' class="social__variant fa fa-pinterest"></a>
                                        </div>

                                        <div class="clearfix"></div>
                                        <p class="copy">&copy; A.Movie, 2020</p>
                                    </div>
                                </div>
                            </section>
                        </footer>

                        <!-- JavaScript-->
                        <!-- jQuery 1.9.1--> 
                        <script src="static/cdn.bootcss.com/jquery/1.10.1/jquery.min.js" tppabs="https://cdn.bootcss.com/jquery/1.10.1/jquery.min.js"></script>
                        <script>window.jQuery || document.write('<script src="js/external/jquery-1.10.1.min.js"/*tpa=http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/external/jquery-1.10.1.min.js*/><\/script>')</script>
                        <!-- Migrate --> 
                        <script src="js/external/jquery-migrate-1.2.1.min.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/external/jquery-migrate-1.2.1.min.js"></script>
                        <!-- Bootstrap 3--> 
                        <script src="static/netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js" tppabs="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>

                        <!-- Mobile menu -->
                        <script src="js/jquery.mobile.menu.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/jquery.mobile.menu.js"></script>
                        <!-- Select -->
                        <script src="js/external/jquery.selectbox-0.2.min.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/external/jquery.selectbox-0.2.min.js"></script>
                        <!-- Form element -->
                        <script src="js/external/form-element.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/external/form-element.js"></script>
                        <!-- Form validation -->
                        <script src="js/form.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/form.js"></script>

                        <!-- Custom -->
                        <script src="js/custom.js" tppabs="http://demo.qfpffmp.cn/cssthemes3/mbts_6_amovie/js/custom.js"></script>

                        <script src="js/skrollr.min.js"></script>
                   <script type="text/javascript">

                $("#reset").click(function () {

                    $.ajax({
                        url: "rss",
                        type: "POST",

                        success: function (rows) {

                            alert("退出成功正在跳转");


                        },
                        error: function () {
                            alert("请求处理出错，添加失败！");
                        }
                    });
                });
                skrollr.init();

                function changeFrameHeight() {
                    var ifm = document.getElementByClassName("mainiframe");
                    ifm.height = document.documentElement.clientHeight - 56;
                }
                window.onresize = function () {
                    changeFrameHeight();
                }
                $(function () {
                    changeFrameHeight();
                });


            </script>
                        </body>
                        </html>
